Skip to content

Conversation

@DougGregor
Copy link
Member

Disambiguate unsafe in a few more common contexts:

  • Before a comma in a list of whatever form
  • Before a left brace somewhere that we cannot have a closure

Fixes a few more source compatibility regressions found in the wild, rdar://146125433.

@DougGregor
Copy link
Member Author

@swift-ci please test

Disambiguate `unsafe` in a few more common contexts:
* Before a comma in a list of whatever form
* Before a left brace somewhere that we cannot have a closure

Fixes a few more source compatibility regressions found in the wild,
rdar://146125433.
@DougGregor DougGregor force-pushed the more-unsafe-disambig branch from e7741fa to 0ca4948 Compare March 4, 2025 21:02
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test Windows

@DougGregor
Copy link
Member Author

@swift-ci please test platform Windows

@DougGregor
Copy link
Member Author

@swift-ci please test Windows

1 similar comment
@DougGregor
Copy link
Member Author

@swift-ci please test Windows

@DougGregor DougGregor merged commit 19458ae into swiftlang:main Mar 5, 2025
3 checks passed
@DougGregor DougGregor deleted the more-unsafe-disambig branch March 5, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant